get List
inline suspend fun <T : BaseModel> getList(page: Int, perPage: Int, sortBy: SortFields = SortFields(), filterBy: Filter = Filter(), expandRelations: ExpandRelations = ExpandRelations(), showFields: ShowFields = ShowFields(), skipTotal: Boolean = false): ListResult<T>
Fetches a paged list of records
Parameters
page
The page number you wish to fetch.
per Page
The amount of records you wish to have per-single-page